package com.hwd.gmall.common.constant;

/**
 * 支付微服务的常量类
 *
 * @author 黄伟东/Victor
 * @date 2022/5/9 17:20
 */
public class PaymentConst {

    /** 订单支付的交换机 */
    public static final String ORDER_PAY_EXCHANGE = "order_pay_exchange";

    /** 订单支付的队列 */
    public static final String ORDER_PAY_QUEUE = "order_pay_queue";

    /** 秒杀订单的支付的队列 */
    public static final String SECKILL_ORDER_PAY_QUEUE = "seckill_order_pay_queue";

    /** 订单支付结果消息进入队列的routingKey */
    public static final String ORDER_PAY_ROUTING_KEY = "order.pay";

    /** 秒杀订单支付结果消息进入队列的routingKey */
    public static final String SECKILL_ORDER_PAY_ROUTING_KEY = "pay.seckill.order";

    /** 返回状态码 */
    public static final String RETURN_CODE = "return_code";

    /** 业务结果 */
    public static final String RESULT_CODE = "result_code";

    /** 秒杀订单的id */
    public static final String ORDER_ID = "orderId";

    /** 秒杀订单的金额 */
    public static final String MONEY = "money";

    /** 秒杀订单的秒杀 */
    public static final String DESCRIPTION = "description";
}
